package org.dromara.tearoom.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * IoT设备操作日志对象 ter_iot_device_oper_log
 *
 * @author ckj
 * @date 2025-04-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ter_iot_device_oper_log")
public class TerIotDeviceOperLog extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 设备 ID，主键，自增
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 设备唯一标识符，全局唯一，用于识别设备
     */
    private String deviceKey;

    /**
     * 操作
     */
    private String operation;

    /**
     * 操作类型
     */
    private String type;


}
